class CreateHumbleSites < ActiveRecord::Migration
  def change
    create_table :humble_sites do |t|
      t.integer :user_id, :null => false
      t.integer :user_confirm_id, :null => false
      t.string :url, :null => false

      t.timestamps
    end
    add_index :humble_sites, [:user_id, :url], :unique => true
  end
end
